class MGExpressModel {
  String? abbreviation;
  int? sortNo;
  bool? supportSendPackage;
  int? id;
  String? code;
  String? fullName;
  int? courierCompanyCode;
  String? cainiaoCode;
  bool? isActive;

  MGExpressModel({
    this.abbreviation,
    this.sortNo,
    this.supportSendPackage,
    this.id,
    this.code,
    this.fullName,
    this.courierCompanyCode,
    this.cainiaoCode,
    this.isActive,
  });

  MGExpressModel.fromJson(Map<String, dynamic> json) {
    abbreviation = json['abbreviation'];
    sortNo = json['sortNo'];
    supportSendPackage = json['supportSendPackage'];
    id = json['id'];
    code = json['code'];
    fullName = json['fullName'];
    courierCompanyCode = json['courierCompanyCode'];
    cainiaoCode = json['cainiaoCode'];
    isActive = json['isActive'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['abbreviation'] = this.abbreviation;
    data['sortNo'] = this.sortNo;
    data['supportSendPackage'] = this.supportSendPackage;
    data['id'] = this.id;
    data['code'] = this.code;
    data['fullName'] = this.fullName;
    data['courierCompanyCode'] = this.courierCompanyCode;
    data['cainiaoCode'] = this.cainiaoCode;
    data['isActive'] = this.isActive;
    return data;
  }
}
